﻿using System;
using System.Collections.Generic;
using System.Text;
using EnvDTE80;

namespace TSVNAddin.Core
{
	public class SolutionAdapter
	{
		private readonly DTE2 _ApplicationObject;

		public SolutionAdapter(DTE2 applicationObject)
		{
			_ApplicationObject = applicationObject;
		}

		public virtual string GetFileName()
		{
			return _ApplicationObject.Solution.FileName;
		}

		public virtual bool IsOpen()
		{
			return _ApplicationObject.Solution.IsOpen;
		}
	}
}
